package com.andong.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 题库进度表
 * @TableName subject_progress
 */
@TableName("subject_progress")
@Data
public class SubjectProgress implements Serializable {
    /**
     * 主键ID
     */
    @TableId
    private Long id;

    /**
     * 学员ID
     */
    private Long studentId;

    /**
     * 题目ID
     */
    private Long subjectId;

    /**
     * 1-科目一 4-科目四
     */
    private Integer type;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}